package com.linjiahao.eduservice.client;

import com.linjiahao.commonutils.ResultMap;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class vodFallback implements VodClient{
    @Override
    public ResultMap removeVideo(String videoId) {
        return ResultMap.error().code(444).message("视频服务器出现问题");
    }

    @Override
    public ResultMap removeVideoList(List<String> videoIdList) {
        return ResultMap.error().code(444).message("视频服务器出现问题");
    }
}
